/**
 * Created with IntelliJ IDEA.
 * User: Thoughtworker
 * Date: 7/10/13
 * Time: 11:15 AM
 * To change this template use File | Settings | File Templates.
 */
public class Movie extends LibraryItem{
    private String year;
    private String director;
    private String rating;

    Movie(String name, String year, String director, String rating){
        super(name);
        this.year = year;
        this.director = director;
        this.rating = rating;
    }

    Movie(String name, String year, String director){
        super(name);
        this.year = year;
        this.director = director;
        this.rating = "N/A";
    }

    public String toString(){
        return name + "\t" + year + "\t" + director + "\t" + rating;
    }

}
